From: Florian Eckert Date: Thu, 17 Aug 2023 13:19:11 +0000 (+0200) Subject: luci-proto-modemmanager: delete removed error codes X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22http:/www.crowdsec.net/%22/%22https:/collectd.org/%22http:/www.crowdsec.net/%22?a=commitdiff_plain;h=d8b54d7fcab482c584ad26705bd62b841cd82e2a;p=project%2Fluci.git luci-proto-modemmanager: delete removed error codes Signed-off-by: Florian Eckert (cherry picked from commit 1e6f52ac69239491e58fb0615100b912719db8f6) --- diff --git a/protocols/luci-proto-modemmanager/htdocs/luci-static/resources/protocol/modemmanager.js b/protocols/luci-proto-modemmanager/htdocs/luci-static/resources/protocol/modemmanager.js index 083f8806da..12da5bf4b4 100644 --- a/protocols/luci-proto-modemmanager/htdocs/luci-static/resources/protocol/modemmanager.js +++ b/protocols/luci-proto-modemmanager/htdocs/luci-static/resources/protocol/modemmanager.js @@ -6,10 +6,7 @@ network.registerPatternVirtual(/^mobiledata-.+$/); network.registerErrorCode('MM_CONNECT_FAILED', _('Connection attempt failed.')); -network.registerErrorCode('MM_DISCONNECT_IN_PROGRESS', _('Modem disconnection in progress. Please wait.')); network.registerErrorCode('MM_CONNECT_IN_PROGRESS', _('Modem connection in progress. Please wait. This process will timeout after 2 minutes.')); -network.registerErrorCode('MM_TEARDOWN_IN_PROGRESS', _('Modem bearer teardown in progress.')); -network.registerErrorCode('MM_MODEM_DISABLED', _('Modem is disabled.')); network.registerErrorCode('DEVICE_NOT_MANAGED', _('Device not managed by ModemManager.')); network.registerErrorCode('INVALID_BEARER_LIST', _('Invalid bearer list. Possibly too many bearers created. This protocol supports one and only one bearer.')); network.registerErrorCode('UNKNOWN_METHOD', _('Unknown and unsupported connection method.'));